Skip to main content
FileHandle.[Symbol.asyncDispose] - fs/promises - Node documentation
method FileHandle.[Symbol.asyncDispose]

Usage in Deno

import { type FileHandle } from "node:fs/promises";
FileHandle.[Symbol.asyncDispose](): Promise<void>

An alias for FileHandle.close().

Return Type

Promise<void>
Back to top